using UnityEngine;
using UnityEngine.UI;

namespace Voodoo.Sauce.Internal.GDPR.UI
{
	public class AutoFillIdfa : MonoBehaviour
	{
		private void Awake()
		{
			InputField field = GetComponent<InputField>();
			Application.RequestAdvertisingIdentifierAsync(delegate(string id, bool trackingEnabled, string msg)
			{
				field.text = id;
			});
		}
	}
}
